package com.just.bz_back.dao;

import com.just.bz_back.model.Location;
import com.just.bz_back.model.LocationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LocationMapper {
    int countByExample(LocationExample example);

    int deleteByExample(LocationExample example);

    int insert(Location record);

    int insertSelective(Location record);

    List<Location> selectByExample(LocationExample example);

    int updateByExampleSelective(@Param("record") Location record, @Param("example") LocationExample example);

    int updateByExample(@Param("record") Location record, @Param("example") LocationExample example);

    List<Location> selectByTypeId(@Param("typeId") int typeId);
}